package com.dm.framework.model;

/**
 * 分页实体
 * @author astm.hejian
 *
 * @param <T>
 */
public class Page<T> {

	/**当前页**/
	private int curPage = 1;
	/**每页记录数**/
	private int pageSize = 10;
	/**总记录数**/
	private int totalRow; // 共多少行
	/**总页数**/
	private int totalPage; // 

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getTotalRow() {
		return totalRow;
	}

	public void setTotalRow(int totalRow) {
		this.totalRow = totalRow;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

}
